<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Flask模版中使用url_for-首页</title>
</head>
<body>
    <h4>首页</h4>
    <h4><a href="{{ url_for('login', next='user_profile') }}">登录</a></h4>
</body>
</html>